home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
usr
/
include
/
repair
/
twig_scan.h
< prev
Wrap
C/C++ Source or Header
|
2006-01-09
|
845b
|
35 lines
/* Copyright 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
reiser4progs/COPYING.
repair/twig_scan.h -- common structures and methods for the second
fsck pass. */
#ifndef REPAIR_SCAN_H
#define REPAIR_SCAN_H
#include <time.h>
#include <repair/librepair.h>
/* Statistics gathered during the pass. */
typedef struct repair_ts_stat {
uint64_t read_twigs, fixed_twigs;
uint64_t bad_unfm_ptrs;
time_t time;
} repair_ts_stat_t;
/* Twig scan data. */
typedef struct repair_ts {
repair_data_t *repair;
reiser4_bitmap_t *bm_used; /* In the tree blocks . */
reiser4_bitmap_t *bm_twig; /* To be scanned blocks. */
reiser4_bitmap_t *bm_met; /* Met blocks, cannot be pointed by
extents. */
repair_ts_stat_t stat;
} repair_ts_t;
extern errno_t repair_twig_scan(repair_ts_t *ts);
#endif